package com.ateam.dao;

import java.util.List;

import com.ateam.pojo.Projects;

/** 
* @author WuYuan
* 
*/
public interface ProjectsDao {
	public int addProject(Projects project)throws Exception;
	public int addProjectLeader( int userid, int projectid)throws Exception;
	public List<Projects> getProjectsByUser(int userid)throws Exception;
	public Projects getProjectByProjectid(int projectid)throws Exception;
	public int updateProjectComplete(int projectid)throws Exception;
}
